# $Id: PKGBUILD 88788 2013-04-22 10:16:23Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mathieui <mathieui(AT)mathieui(DOT)net>
# Contributor: Celos <celos94(AT)gmail(DOT)com>

pkgname=python2-ipy
pkgver=0.81
pkgrel=1
pkgdesc="Python class and tools for handling of IPv4 and IPv6 addresses and networks."
arch=('any')
url="http://software.inl.fr/trac/wiki/IPy"
license=('BSD')
depends=('python2')
source=(http://cheeseshop.python.org/packages/source/I/IPy/IPy-$pkgver.tar.gz)
md5sums=('7a305c0b60950a9a90c89e9a6f9e06f4')

package() {
  cd "$srcdir/IPy-$pkgver"
  python2 setup.py install --prefix=/usr --root=$pkgdir
  install -D -m644 $srcdir/IPy-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
